package cn.edu.zut.cs.Business;

import cn.edu.zut.cs.Model.Sources;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SourcesService {
    //上传资源
    int insertupload(@Param("username") String username, @Param("urlpath") String urlpath,
                     @Param("filetype") String filetype, @Param("uploadtime") String uploadtime);

    //查询好友和自己上传的资源
    List<Sources> querySourceBymyselfe(String username);
}
